<template>
  <div class="content">
          <div class="categoryWrap">
             <span>日期 : </span>
             <el-date-picker 
                v-model="value1"
                type="year"
                placeholder="选择年份"
               >
             </el-date-picker>
          </div>
       <div class="table">
        <el-table
            :data="tableData"
            style="width: 100%">
            <el-table-column
            prop="date"
            label="月份"
            width="150">
            </el-table-column>
            <el-table-column
            prop="date"
            label="工资"
            width="150">
            </el-table-column>
            <el-table-column
            prop="date"
            label="福利费"
            width="150">
            </el-table-column>
            <el-table-column
            prop="date"
            label="外发加工费"
            width="150">
            </el-table-column>
            <el-table-column
            prop="date"
            label="原材料"
            width="150">
            </el-table-column>
            <el-table-column label="制造费用">
          
                <el-table-column
                prop="province"
                label="制作费用小计"
                width="120">
                </el-table-column>
                <el-table-column
                prop="city"
                label="机物料消耗"
                width="120">
                </el-table-column>
                <el-table-column
                prop="address"
                label="差旅费"
                width="300">
                </el-table-column>
                <el-table-column
                prop="zip"
                label="折旧费"
                width="120">
                </el-table-column>
                <el-table-column
                prop="zip"
                label="租金"
                width="120">
                </el-table-column>
                <el-table-column
                prop="zip"
                label="修理费"
                width="120">
                </el-table-column>
                <el-table-column
                prop="zip"
                label="低值易耗品"
                width="120">
                </el-table-column>

                <el-table-column
                prop="zip"
                label="水电费"
                width="120">
                </el-table-column>
                <el-table-column
                prop="zip"
                label="其他"
                width="120">
                </el-table-column>
                <el-table-column
                prop="zip"
                label="运费"
                width="120">
                </el-table-column>
            </el-table-column>
            <el-table-column
            prop="date"
            label="合计"
            width="150">
            </el-table-column>
         </el-table>
       </div>
  </div>
</template>

<script>
  export default {
    data () {
       return{
        tableData: [{
          date: '2016-05-03',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-02',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-04',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-01',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-08',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-06',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }, {
          date: '2016-05-07',
          name: '王小虎',
          province: '上海',
          city: '普陀区',
          address: '上海市普陀区金沙江路 1518 弄',
          zip: 200333
        }]
       }
    },
    methods: {
       
    },

  }

</script>
<style lang='scss' scoped>
.content{
   min-height: calc(100vh - 130px);
   background: #fff;
   padding: 30px;
   border-radius: 10px;
   .categoryWrap{
       span{
         margin-right: 30px;
       }
    }
   .table{
       margin: 30px 0 0 0;
    }
       
}
</style>